#ifndef XMLSTATSHANDLER_H
#define XMLSTATSHANDLER_H

#include <QXmlDefaultHandler>

class Server;

class XmlStatsHandler : public QXmlDefaultHandler
{
public:
    XmlStatsHandler( Server *server );

    bool fatalError( const QXmlParseException &exception );

    bool startElement( const QString &namespaceURI, const QString &localName,
                       const QString &qName, const QXmlAttributes &atts );

private:
    Server *mServer;
};

#endif // XMLSTATSHANDLER_H
